home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 001-025 / disk_004 / kermit / makefile < prev    next >
Makefile  |  1992-05-06  |  2KB  |  59 lines

  1. #    @(#)Makefile    1.1    1/26/85
  2.  
  3. #    Kermit is a communications utility to allow two
  4. #    wildly different computer systems to communicate.
  5.  
  6. #    If the macro based debugging package "dbug" is not available
  7. #    then change DBUG to null and DBUGLIB to null.
  8. #    To use the package, set DBUG to -DDBUG and DBUGLIB to "-ldbug".
  9.  
  10. #    This makefile uses only the bare capabilities of make, avoiding
  11. #    things like built-in rules.  This helps to make it portable to
  12. #    more primitive (non-unix) versions of make.
  13.  
  14. CC =        cc
  15.  
  16. SPEED =        -DDEF_SPEED=9600
  17. LINE =         -DDEF_LINE=\"SER:\"
  18.  
  19. #DBUG =        -DDBUG
  20. CFLAGS =    -O $(DBUG)
  21. #DBUGLIB =    -ldbug
  22. LINTHARD =    $(DBUG)
  23. DEFS =        $(SPEED) $(LINE)
  24.  
  25. OBJECTS =    connect.o error.o globals.o main.o receive.o send.o tty.o usage.o utils.o
  26.  
  27. kermit :    $(OBJECTS)
  28.         cc -o kermit $(OBJECTS) $(DBUGLIB)
  29.  
  30. connect.o :    kermit.h manifest.h globals.h errors.h connect.c
  31.         $(CC) $(CFLAGS) -c connect.c
  32.  
  33. error.o :    kermit.h manifest.h globals.h errors.h error.c
  34.         $(CC) $(CFLAGS) -c error.c
  35.  
  36. globals.o :    kermit.h manifest.h globals.h globals.c
  37.         $(CC) $(CFLAGS) $(DEFS) -c globals.c
  38.  
  39. main.o :    kermit.h manifest.h globals.h errors.h main.c
  40.         $(CC) $(CFLAGS) -c main.c
  41.  
  42. receive.o :    kermit.h manifest.h globals.h errors.h receive.c
  43.         $(CC) $(CFLAGS) -c receive.c
  44.  
  45. send.o :    kermit.h manifest.h globals.h send.c
  46.         $(CC) $(CFLAGS) -c send.c
  47.  
  48. tty.o :        kermit.h manifest.h globals.h errors.h tty.c
  49.         $(CC) $(CFLAGS) -c tty.c
  50.  
  51. usage.o :    kermit.h manifest.h globals.h usage.c
  52.         $(CC) $(CFLAGS) -c usage.c
  53.  
  54. utils.o :    kermit.h manifest.h globals.h utils.c
  55.         $(CC) $(CFLAGS) -c utils.c
  56.  
  57. linthard :
  58.         lint $(LINTHARD) *.c $(DBUGLIB) >lint.out
  59.